package com.xrc.HomeWork.Animal;

public class Test {
    public static void main(String[] args) {
            Dog dog=new Dog();
            dog.setColor("black");
            dog.lookHome("解润才");
            dog.eat("肉");
            dog.work();
            Cat cat=new Cat();
            cat.setColor("黄色");
            cat.catchMouse();
            cat.eat("鱼");
            cat.work();
    }
}
